package com.example.module_service

import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.launcher.ARouter
import com.example.lib_base.path.RouterPath
import com.example.lib_common.view.view.BaseMvvmFragment
import com.example.module_service.databinding.FragmentServiceBinding

@Route(path = RouterPath.PATH_SERVICE_PAGE)
class ServiceFragment : BaseMvvmFragment<FragmentServiceBinding>() {
    override fun getLayoutId(): Int =R.layout.fragment_service

    override fun initView() {
        binding.llCar.setOnClickListener {
            ARouter.getInstance().build("/module_service/CarManageActivity").navigation()
        }

        binding.llMerchant.setOnClickListener {
            ARouter.getInstance().build("/merchant/EnterpriseActivity").navigation()
        }

        //会员
        binding.llMonthCard.setOnClickListener {
            ARouter.getInstance().build("/module_service/MemberActivity").navigation()
        }
    }


}